package com.codefish.codefishseckill.vo;

import com.codefish.codefishseckill.validator.annotation.IsMobile;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Login表单参数
 *
 * @author codefish
 * @version 1.0
 * @date 2022/07/05 下午 03:16
 */
@Data
public class LoginVo {

    @IsMobile(required = true)
    String username;

    @NotBlank
    String password;
}
